//
//  SHTestCollectionViewCell.m
//  MVVMTest
//
//  Created by lifuzhou on 2017/10/19.
//  Copyright © 2017年 李泽鲁. All rights reserved.
//

#import "SHTestCollectionViewCell.h"

@implementation SHTestCollectionViewCell

- (void)awakeFromNib
{
    [super awakeFromNib];
    self.backgroundColor = [UIColor whiteColor];
}

- (void)setCelltype:(cellType)celltype
{
    if (celltype == cellTypeAdd) {
        self.backgroundColor = [UIColor redColor];
    }else if (celltype == cellTypeNormal)
    {
        self.backgroundColor = [UIColor blackColor];
    }else{
        self.backgroundColor = [UIColor whiteColor];
    }
}

@end
